package com.love.marriage.personalImageryInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  个人形象表类
 * author:       mybatisPlus
 * createDate: 2024-10-13 22:54:18
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("personal_imagery_info_t")
@Schema(description = "个人形象表")
public class PersonalImageryInfo extends BaseEntity<PersonalImageryInfo>{

    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "文件ID", type = "Long", implementation = Long.class)
    @TableField("file_id")
    private Long fileId;

    @Schema(description = "位置编号，用数字表示", type = "Integer", implementation = Integer.class)
    @TableField("position")
    private Integer position;

    @Schema(description = "描述或备注", type = "String", implementation = String.class)
    @TableField("`description`")
    private String description;

}
